package com.Table;

import java.sql.Date;

/**
 * Created by lwx on 2016/12/3.
 */
public class User {
    private Integer userID;
    private String username;
    private String passwd;
    private String nickname;
    private String sex;
    private Integer coinnum;
    private String signature;
    private Date signupdate;

    public User() {

    }

    public User(Integer _userID
            , String _username
            , String _passwd
            , String _nickname
            , String _sex
            , Integer _coinnum
            , String _signature
            , long _signupdate) {
        userID = _userID;
        username = _username;
        passwd = _passwd;
        nickname = _nickname;
        sex = _sex;
        coinnum = _coinnum;
        signature = _signature;
        signupdate = new Date(_signupdate);
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getCoinnum() {
        return coinnum;
    }

    public void setCoinnum(Integer coinnum) {
        this.coinnum = coinnum;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Date getSignupdate() {
        return signupdate;
    }

    public void setSignupdate(Date signupdate) {
        this.signupdate = signupdate;
    }
}
